<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>application 对象示例</title>
</head>
<body>
    <%
    application.setAttribute("appName", "My Application");
    String appName = (String) application.getAttribute("appName");
    out.println("应用名称：" + appName);
    %>
    
    <form action="ApplicationServlet" method="post">
    	<input type="submit" name="提交">
    </form>
</body>
</html>